package com.bq.server.core.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bq.server.base.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 干部与部门关系表
 *
 * @author shchen
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "cadre_dept")
public class CadreDept extends IdEntity<CadreDept> {

    /**
     * 干部主键
     */
    @TableField(value = "cadre_id")
    private Long cadreId;

    /**
     * 部门主键
     */
    @TableField(value = "dept_id")
    private Long deptId;
}